<?php

namespace App\Models\WaiMai;

use App\Console\Commands\WaiMai\BusinessAnalysisCommand;
use App\Models\BaseModel;
use Ballen\Distical\Calculator;
use Illuminate\Support\Facades\Redis;

class WaiMaiAnalysisModel extends BaseModel
{
    protected $table = 'waimai_analysis';

    public $timestamps = false;

    protected $fillable = [
        'sourceType',
        'shopName',
        'orderNum',
        'lng',
        'lat',
        'addressPrefix',
        'provinceCode',
        'cityCode',
        'areaCode',
        'categoryType',
        'categoryName',
    ];

    const CATEGORY_TYPE_DEFAULT = 0; // 默认
    const CATEGORY_TYPE_FRIED = 1; // 炸串炸鸡
}
